package com.ruoyi.system.service;

import java.util.List;
import com.ruoyi.system.domain.AssessmentPlan;

/**
 * 员工考核计划----DmyService接口
 * 
 * @author dmy
 * @date 2025-05-30
 */
public interface IAssessmentPlanService 
{
    /**
     * 查询员工考核计划----Dmy
     * 
     * @param id 员工考核计划----Dmy主键
     * @return 员工考核计划----Dmy
     */
    public AssessmentPlan selectAssessmentPlanById(Long id);

    /**
     * 查询员工考核计划----Dmy列表
     * 
     * @param assessmentPlan 员工考核计划----Dmy
     * @return 员工考核计划----Dmy集合
     */
    public List<AssessmentPlan> selectAssessmentPlanList(AssessmentPlan assessmentPlan);

    /**
     * 新增员工考核计划----Dmy
     * 
     * @param assessmentPlan 员工考核计划----Dmy
     * @return 结果
     */
    public int insertAssessmentPlan(AssessmentPlan assessmentPlan);

    /**
     * 修改员工考核计划----Dmy
     * 
     * @param assessmentPlan 员工考核计划----Dmy
     * @return 结果
     */
    public int updateAssessmentPlan(AssessmentPlan assessmentPlan);

    /**
     * 批量删除员工考核计划----Dmy
     * 
     * @param ids 需要删除的员工考核计划----Dmy主键集合
     * @return 结果
     */
    public int deleteAssessmentPlanByIds(Long[] ids);

    /**
     * 删除员工考核计划----Dmy信息
     * 
     * @param id 员工考核计划----Dmy主键
     * @return 结果
     */
    public int deleteAssessmentPlanById(Long id);

    public List<Integer> selectALLEmployeeIdByAssessmentPlanId(Integer id);

    public List<Integer> selectALLIndicatorsIdByAssessmentPlanId(Integer id);

    public Integer add(Integer employeeId,Integer planId);

    public Integer addEmployeeIndicator(Integer employeeId,Integer indicatorsId);

    //根据员工id删除
    public Integer deleteEmployeeAssessmentDetailByEmployeeId(Integer employeeId);
    //根据员工id删除
    public Integer deleteEmployeeIndicatorScoreByEmployeeId(Integer employeeId);
}
